<?php
/*
 * @Description: 
 * @version: 1.0
 * @Autor: xy
 * @Date: 2021-11-26 11:20:31
 * @LastEditors: xiaoye
 * @LastEditTime: 2022-04-07 10:18:56
 */
defined('BASEPATH') OR exit('No direct script access allowed');
?><!DOCTYPE html><html lang="en">
	<head>
		<!--加载header文件-->
		<?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/laydate.php';
        include_once 'public/home/html/alert.php';
        include_once "public/home/html/search-select.php";
		?>
		<link rel="stylesheet" href="public/css/list.css" />
		<link rel="stylesheet" href="public/xr/xrDatatable.css" />
		<script src="public/xr/xrDatatable.js?v=20231124"></script>		
        <script src="public/home/js/function.js"></script>
		<script src="public/js/list.js"></script>
	<script src="cust/js/statisticsFeedBackList.js?v=20220523"></script>
	</head>
	<body>
		<input type="hidden" id='url' value="<?php echo base_url()?>">
		<div class="page-container container">
			<div class="searchForm">
			    <div class="searchForm-title"><i class="icon-table searchForm-title-icon"></i>数据表格<i class="icon-double-angle-up searchFormTitleIcon"></i></div>
			    <div class="searchForm-main">
					<form id="searchForm">
						<input type="text" name='start_time' id="start_time" placeholder="请选择起始时间"/>
						<input type="text" name='end_time' id="end_time" placeholder="请选择终止时间"/>
						<input type="text" name='creator' id="creator" placeholder="反馈人"/>
						<select name="role_belong" id="role_belong">
			               <option value="-1">全部</option>
			               <option value="13">管理员处理</option>
			               <option value="5">督导组长处理</option>
			             </select>
		                <select name="dept_name" id="dept_name" >
			               <option value="-1">所属分院名称(部)</option>
			               <?php foreach ($dept_name as $k => $v):?>
			                <option value="<?=$v['name']?>"><?=$v['dept_name']?></option>
			               <?php endforeach ?>
			             </select>
						 <input type="checkbox" name="checkbox[]" id="checkbox" value="0" style="vertical-align: middle;width:50px;">已冻结信息员的反馈数据
					</form>

				</div>
			</div>
			<div class="operationRow">
 				<button class="pageItemButton" onclick="Export(1)"><i class="icon-edit"></i>word导出</button>
 				<button class="pageItemButton" onclick="Export(2)"><i class="icon-edit"></i>excel导出</button>
				 <span>共计<span id="count" style="color: red;">0</span>条反馈信息</span>&nbsp;&nbsp;&nbsp;<span style="color: red;">(注:统计的是已处理或已结束的反馈信息)</span>
			</div>
			<div class="listcontent">
				<div class='xrTableRow'>
					<table id="table" class="xrTable">
						<thead>
							<tr>
								<th name="_xrno"></th>
								<!-- <th name="_oper" style="width: 120px;">操作</th> -->
                                <th name="_username" > 反馈人 </th>
                                <th name="_dept_name" > 部门 </th>
                                <th name="_category" > 反馈类型 </th>
                                <th name="_content1" > 反馈内容 </th>
                                <th name="_result1" > 处理意见和结果 </th>
                                <th name="_created" > 时间 </th>
                                
							</tr>
						</thead>
					</table>
				</div>
			</div>
		</div>
	</body>
	<script>
		$("body").keydown(function() {
             if (event.keyCode == "13") {//keyCode=13是回车键
                 $('.searchButton').click();
             }
         });
		$("#title").change(function(){
			$('.searchButton').click();
		});
		$("#class_name").change(function(){
			$('.searchButton').click();
		});

		$("#dept_name").change(function(){
			$('.searchButton').click();
		});

		$("#role_belong").change(function(){
			$('.searchButton').click();
		});

		$("#checkbox").change(function(event) {
			$('.searchButton').click();
		});
	</script>
</html>